﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace DIfmClient
{
    public enum AudioFormat { aac64, aac32, mp396, wma40 };

    public class Channel
    {
        [JsonProperty(PropertyName = "id")]
        public int ID { get; set; }

        [JsonProperty(PropertyName = "key")]
        public string Key { get; set; }

        [JsonProperty(PropertyName = "name")]
        public string Name { get; set; }

        [JsonProperty(PropertyName = "description")]
        public string Description { get; set; }

        [JsonProperty(PropertyName = "playlist")]
        public string Playlist { get; set; }

        public override string ToString()
        {
            return this.Name;
        }

        public string trackListString { get; set; }
        public List<Track> TrackList { get; set; }

        public Channel()
        {
            
        }
    }
}
